<script>
	export default {
		onLaunch: function() {
			const userId = this.$storage.getUserId();
			if (userId) {
				uni.reLaunch({
					url: '/pages/index/index'
				});
			} else {
				uni.reLaunch({
					url: '/pages/login/login'
				});
			}
		}
	}
</script>

<style>
	@import '/common/css/uni.css';
	@import '/common/iconfont/iconfont.css';
	@import '/common/css/app.css';
</style>
